Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] Use savedObjectsClient.resolve in saved query service (#111229) #112031

Merged
merged 1 commit into from
Sep 14, 2021

Conversation

kibanamachine
Copy link
Contributor

Backports the following commits to 7.x:

* Use resolve instead of get for saved query service

* Update tests

* Update src/plugins/data/public/query/saved_query/saved_query_service.ts

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* Revert step 4

* Fix test

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
@kibanamachine
Copy link
Contributor Author

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Firefox UI Functional Tests.test/functional/apps/visualize/_tsvb_chart·ts.visualize app visualize ciGroup12 visual builder switch index pattern mode should be able to switch using text mode selection

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 4 times on tracked branches: https://github.com/elastic/kibana/issues/106627

[00:00:00]       │
[00:11:40]         └-: visualize app
[00:11:40]           └-> "before all" hook in "visualize app"
[00:11:40]           └-> "before all" hook in "visualize app"
[00:11:40]             │ debg Starting visualize before method
[00:11:40]             │ info [test/functional/fixtures/es_archiver/empty_kibana] Loading "mappings.json"
[00:11:40]             │ info [test/functional/fixtures/es_archiver/empty_kibana] Loading "data.json.gz"
[00:11:40]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_7.16.0_001/vTOU6n5yT_qSEHi5xvgXrw] deleting index
[00:11:40]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_1/e50gVYr6QrGts83iSxOUpA] deleting index
[00:11:40]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_task_manager_7.16.0_001/Ke5y15C9TGahgM8G3YWzRA] deleting index
[00:11:40]             │ info [test/functional/fixtures/es_archiver/empty_kibana] Deleted existing index ".kibana_task_manager_7.16.0_001"
[00:11:40]             │ info [test/functional/fixtures/es_archiver/empty_kibana] Deleted existing index ".kibana_7.16.0_001"
[00:11:40]             │ info [test/functional/fixtures/es_archiver/empty_kibana] Deleted existing index ".kibana_1"
[00:11:40]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1]
[00:11:40]             │ info [test/functional/fixtures/es_archiver/empty_kibana] Created index ".kibana_1"
[00:11:40]             │ debg [test/functional/fixtures/es_archiver/empty_kibana] ".kibana_1" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:11:40]             │ info [test/functional/fixtures/es_archiver/empty_kibana] Indexed 1 docs into ".kibana"
[00:11:40]             │ debg Migrating saved objects
[00:11:40]             │ proc [kibana]   log   [23:41:33.306] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET. took: 4ms.
[00:11:40]             │ proc [kibana]   log   [23:41:33.311] [info][savedobjects-service] [.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 12ms.
[00:11:40]             │ proc [kibana]   log   [23:41:33.314] [info][savedobjects-service] [.kibana] WAIT_FOR_YELLOW_SOURCE -> CHECK_UNKNOWN_DOCUMENTS. took: 3ms.
[00:11:40]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_task_manager_7.16.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:11:40]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_task_manager_7.16.0_001]
[00:11:40]             │ proc [kibana]   log   [23:41:33.320] [info][savedobjects-service] [.kibana] CHECK_UNKNOWN_DOCUMENTS -> SET_SOURCE_WRITE_BLOCK. took: 6ms.
[00:11:40]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_1/TQQ-X-hOTvy7FL4l9shqNA]]
[00:11:40]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_1]
[00:11:40]             │ proc [kibana]   log   [23:41:33.379] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> MARK_VERSION_INDEX_READY. took: 73ms.
[00:11:40]             │ proc [kibana]   log   [23:41:33.393] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CALCULATE_EXCLUDE_FILTERS. took: 73ms.
[00:11:40]             │ proc [kibana]   log   [23:41:33.397] [info][savedobjects-service] [.kibana] CALCULATE_EXCLUDE_FILTERS -> CREATE_REINDEX_TEMP. took: 4ms.
[00:11:40]             │ proc [kibana]   log   [23:41:33.411] [info][savedobjects-service] [.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 32ms.
[00:11:40]             │ proc [kibana]   log   [23:41:33.412] [info][savedobjects-service] [.kibana_task_manager] Migration completed after 110ms
[00:11:40]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_7.16.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:11:40]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_7.16.0_reindex_temp]
[00:11:40]             │ proc [kibana]   log   [23:41:33.463] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP_OPEN_PIT. took: 66ms.
[00:11:40]             │ proc [kibana]   log   [23:41:33.467] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_OPEN_PIT -> REINDEX_SOURCE_TO_TEMP_READ. took: 4ms.
[00:11:40]             │ proc [kibana]   log   [23:41:33.474] [info][savedobjects-service] [.kibana] Starting to process 1 documents.
[00:11:40]             │ proc [kibana]   log   [23:41:33.474] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_INDEX. took: 7ms.
[00:11:40]             │ proc [kibana]   log   [23:41:33.477] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX -> REINDEX_SOURCE_TO_TEMP_INDEX_BULK. took: 3ms.
[00:11:40]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_reindex_temp/b8Y33_zcTYOrygfOIWZIVw] update_mapping [_doc]
[00:11:40]             │ proc [kibana]   log   [23:41:33.508] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_INDEX_BULK -> REINDEX_SOURCE_TO_TEMP_READ. took: 31ms.
[00:11:40]             │ proc [kibana]   log   [23:41:33.512] [info][savedobjects-service] [.kibana] Processed 1 documents out of 1.
[00:11:40]             │ proc [kibana]   log   [23:41:33.512] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_READ -> REINDEX_SOURCE_TO_TEMP_CLOSE_PIT. took: 4ms.
[00:11:40]             │ proc [kibana]   log   [23:41:33.516] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_CLOSE_PIT -> SET_TEMP_WRITE_BLOCK. took: 4ms.
[00:11:40]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] adding block write to indices [[.kibana_7.16.0_reindex_temp/b8Y33_zcTYOrygfOIWZIVw]]
[00:11:40]             │ info [o.e.c.m.MetadataIndexStateService] [node-01] completed adding block write to indices [.kibana_7.16.0_reindex_temp]
[00:11:40]             │ proc [kibana]   log   [23:41:33.554] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 38ms.
[00:11:40]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] applying create index request using existing index [.kibana_7.16.0_reindex_temp] metadata
[00:11:40]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [.kibana_7.16.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:11:40]             │ info [o.e.c.r.a.AllocationService] [node-01] updating number_of_replicas to [0] for indices [.kibana_7.16.0_001]
[00:11:40]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_001/W_EUlOGSRn-O0IVIujzlOQ] create_mapping [_doc]
[00:11:40]             │ proc [kibana]   log   [23:41:33.655] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> REFRESH_TARGET. took: 101ms.
[00:11:40]             │ proc [kibana]   log   [23:41:33.659] [info][savedobjects-service] [.kibana] REFRESH_TARGET -> OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT. took: 4ms.
[00:11:40]             │ proc [kibana]   log   [23:41:33.663] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_OPEN_PIT -> OUTDATED_DOCUMENTS_SEARCH_READ. took: 4ms.
[00:11:40]             │ proc [kibana]   log   [23:41:33.669] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_READ -> OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT. took: 6ms.
[00:11:40]             │ proc [kibana]   log   [23:41:33.673] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH_CLOSE_PIT -> UPDATE_TARGET_MAPPINGS. took: 4ms.
[00:11:40]             │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_001/W_EUlOGSRn-O0IVIujzlOQ] update_mapping [_doc]
[00:11:40]             │ proc [kibana]   log   [23:41:33.746] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 73ms.
[00:11:40]             │ info [o.e.t.LoggingTaskListener] [node-01] 11404 finished with response BulkByScrollResponse[took=15.6ms,timed_out=false,sliceId=null,updated=1,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:11:40]             │ proc [kibana]   log   [23:41:33.851] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 105ms.
[00:11:40]             │ info [o.e.c.m.MetadataDeleteIndexService] [node-01] [.kibana_7.16.0_reindex_temp/b8Y33_zcTYOrygfOIWZIVw] deleting index
[00:11:41]             │ proc [kibana]   log   [23:41:33.886] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE. took: 35ms.
[00:11:41]             │ proc [kibana]   log   [23:41:33.887] [info][savedobjects-service] [.kibana] Migration completed after 588ms
[00:11:41]             │ debg [test/functional/fixtures/es_archiver/empty_kibana] Migrated Kibana index after loading Kibana data
[00:11:41]             │ debg [test/functional/fixtures/es_archiver/empty_kibana] Ensured that default space exists in .kibana
[00:11:41]             │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC","visualization:visualize:legacyPieChartsLibrary":true}
[00:11:43]             │ info [test/functional/fixtures/es_archiver/logstash_functional] Loading "mappings.json"
[00:11:43]             │ info [test/functional/fixtures/es_archiver/logstash_functional] Loading "data.json.gz"
[00:11:43]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.22] creating index, cause [api], templates [], shards [1]/[0]
[00:11:43]             │ info [test/functional/fixtures/es_archiver/logstash_functional] Created index "logstash-2015.09.22"
[00:11:43]             │ debg [test/functional/fixtures/es_archiver/logstash_functional] "logstash-2015.09.22" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:11:43]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.20] creating index, cause [api], templates [], shards [1]/[0]
[00:11:43]             │ info [test/functional/fixtures/es_archiver/logstash_functional] Created index "logstash-2015.09.20"
[00:11:43]             │ debg [test/functional/fixtures/es_archiver/logstash_functional] "logstash-2015.09.20" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:11:43]             │ info [o.e.c.m.MetadataCreateIndexService] [node-01] [logstash-2015.09.21] creating index, cause [api], templates [], shards [1]/[0]
[00:11:43]             │ info [test/functional/fixtures/es_archiver/logstash_functional] Created index "logstash-2015.09.21"
[00:11:43]             │ debg [test/functional/fixtures/es_archiver/logstash_functional] "logstash-2015.09.21" settings {"index":{"analysis":{"analyzer":{"url":{"max_token_length":"1000","tokenizer":"uax_url_email","type":"standard"}}},"number_of_replicas":"0","number_of_shards":"1"}}
[00:11:53]             │ info [test/functional/fixtures/es_archiver/logstash_functional] Indexed 4633 docs into "logstash-2015.09.22"
[00:11:53]             │ info [test/functional/fixtures/es_archiver/logstash_functional] Indexed 4757 docs into "logstash-2015.09.20"
[00:11:53]             │ info [test/functional/fixtures/es_archiver/logstash_functional] Indexed 4614 docs into "logstash-2015.09.21"
[00:11:53]             │ info [test/functional/fixtures/es_archiver/long_window_logstash] Loading "mappings.json"
[00:11:53]             │ info [test/functional/fixtures/es_archiver/long_window_logstash] Loading "data.json.gz"
[00:11:53]             │ info [test/functional/fixtures/es_archiver/long_window_logstash] Skipped restore for existing index "long-window-logstash-0"
[00:11:54]           └-: visualize ciGroup12
[00:11:54]             └-> "before all" hook in "visualize ciGroup12"
[00:11:54]             └-: visual builder
[00:11:54]               └-> "before all" hook in "visual builder"
[00:11:54]               └-> "before all" hook in "visual builder"
[00:11:54]                 │ debg Cleaning all saved objects { space: undefined }
[00:11:54]                 │ info deleting batch of 0 objects
[00:11:54]                 │ succ deleted 0 objects
[00:11:54]                 │ debg resolved import for test/functional/fixtures/kbn_archiver/visualize.json to /dev/shm/workspace/parallel/18/kibana/test/functional/fixtures/kbn_archiver/visualize.json
[00:11:54]                 │ info importing 13 saved objects { space: undefined }
[00:11:54]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_001/W_EUlOGSRn-O0IVIujzlOQ] update_mapping [_doc]
[00:11:55]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_001/W_EUlOGSRn-O0IVIujzlOQ] update_mapping [_doc]
[00:11:55]                 │ info [o.e.c.m.MetadataMappingService] [node-01] [.kibana_7.16.0_001/W_EUlOGSRn-O0IVIujzlOQ] update_mapping [_doc]
[00:11:55]                 │ succ import success
[00:11:55]                 │ debg replacing kibana config doc: {"defaultIndex":"logstash-*","format:bytes:defaultPattern":"0,0.[000]b","visualization:visualize:legacyPieChartsLibrary":true}
[00:32:32]               └-: switch index pattern mode
[00:32:32]                 └-> "before all" hook for "should be able to switch combo box mode selection"
[00:32:32]                 └-> should be able to switch combo box mode selection
[00:32:32]                   └-> "before each" hook: global before each for "should be able to switch combo box mode selection"
[00:32:32]                   └-> "before each" hook for "should be able to switch combo box mode selection"
[00:32:32]                     │ debg navigating to visualize url: http://localhost:61181/app/visualize#/
[00:32:32]                     │ debg navigate to: http://localhost:61181/app/visualize#/
[00:32:32]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:32:32]                     │ debg ... sleep(700) start
[00:32:33]                     │ debg ... sleep(700) end
[00:32:33]                     │ debg returned from get, calling refresh
[00:32:34]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:32:36]                     │ debg currentUrl = http://localhost:61181/app/visualize#/
[00:32:36]                     │          appUrl = http://localhost:61181/app/visualize#/
[00:32:36]                     │ debg TestSubjects.find(kibanaChrome)
[00:32:36]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:32:37]                     │ debg ... sleep(501) start
[00:32:37]                     │ debg ... sleep(501) end
[00:32:37]                     │ debg in navigateTo url = http://localhost:61181/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:32:37]                     │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[00:32:38]                     │ debg ... sleep(501) start
[00:32:38]                     │ debg ... sleep(501) end
[00:32:38]                     │ debg in navigateTo url = http://localhost:61181/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:32:38]                     │ debg isGlobalLoadingIndicatorVisible
[00:32:38]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:32:38]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:32:40]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:32:40]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:32:40]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:32:40]                     │ debg TestSubjects.exists(newItemButton)
[00:32:40]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:32:40]                     │ debg TestSubjects.click(newItemButton)
[00:32:40]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:32:40]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:32:40]                     │ debg TestSubjects.find(visNewDialogGroups)
[00:32:40]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogGroups"]') with timeout=10000
[00:32:40]                     │ debg TestSubjects.click(visType-metrics)
[00:32:40]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:32:40]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:32:41]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:32:41]                     │ debg isGlobalLoadingIndicatorVisible
[00:32:41]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:32:41]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:32:42]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:32:43]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:32:43]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:32:43]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:32:43]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=20000
[00:32:44]                     │ debg navigateToActualUrl http://localhost:61181/app/visualize#create?type=metrics
[00:32:44]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:32:46]                     │ debg currentUrl = http://localhost:61181/app/visualize#create?type=metrics
[00:32:46]                     │          appUrl = http://localhost:61181/app/visualize#create?type=metrics
[00:32:46]                     │ debg TestSubjects.find(kibanaChrome)
[00:32:46]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:32:46]                     │ debg Wait for initializing TSVB editor
[00:32:46]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:32:46]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=20000
[00:32:47]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:32:47]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:32:47]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:32:47]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:32:47]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:32:47]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:32:47]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:32:47]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:32:47]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:32:48]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:32:48]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:32:48]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:32:48]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:32:48]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:32:48]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:32:48]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:32:48]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:32:48]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:32:49]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:32:49]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:32:49]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:32:49]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:32:49]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:32:49]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:32:49]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:32:49]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:32:50]                     │ debg Find.waitForElementStale with timeout=10000
[00:32:50]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:32:50]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:32:50]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:32:50]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:32:50]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:32:50]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:32:50]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:32:50]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:32:50]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:32:51]                     │ debg Waiting up to 20000ms for Timepicker popover to close...
[00:32:51]                     │ debg TestSubjects.exists(superDatePickerAbsoluteDateInput)
[00:32:51]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=2500
[00:32:51]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerAbsoluteDateInput"] is not displayed
[00:32:54]                     │ debg --- retry.tryForTime failed again with the same message...
[00:32:54]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:32:54]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:32:57]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:32:57]                     │ debg TestSubjects.click(querySubmitButton)
[00:32:57]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:32:57]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:33:00]                     │ debg Find.waitForElementStale with timeout=10000
[00:33:00]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:33:00]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:33:00]                     │ debg ... sleep(2000) start
[00:33:02]                     │ debg ... sleep(2000) end
[00:33:02]                   └-> "before each" hook for "should be able to switch combo box mode selection"
[00:33:02]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:33:02]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:33:03]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:33:03]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=20000
[00:33:03]                     │ debg TestSubjects.click(metricEditorPanelOptionsBtn)
[00:33:03]                     │ debg Find.clickByCssSelector('[data-test-subj="metricEditorPanelOptionsBtn"]') with timeout=10000
[00:33:03]                     │ debg Find.findByCssSelector('[data-test-subj="metricEditorPanelOptionsBtn"]') with timeout=10000
[00:33:03]                     │ debg isGlobalLoadingIndicatorVisible
[00:33:03]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:33:03]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:33:05]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:33:05]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:33:05]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:33:05]                     │ debg TestSubjects.find(dataTimeRangeMode)
[00:33:05]                     │ debg Find.findByCssSelector('[data-test-subj="dataTimeRangeMode"]') with timeout=10000
[00:33:05]                     │ debg comboBox.setElement, value: Last value
[00:33:05]                     │ debg comboBox.isOptionSelected, value: Last value
[00:33:07]                     │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:33:07]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:33:07]                     │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Last value"]') with timeout=2500
[00:33:08]                     │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:33:08]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:33:10]                     │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:33:11]                     │ debg TestSubjects.find(metricsDropLastBucket-yes)
[00:33:11]                     │ debg Find.findByCssSelector('[data-test-subj="metricsDropLastBucket-yes"]') with timeout=10000
[00:33:11]                     │ debg isGlobalLoadingIndicatorVisible
[00:33:11]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:33:11]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:33:13]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:33:13]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:33:13]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:33:13]                     │ debg TestSubjects.click(metricEditorDataBtn)
[00:33:13]                     │ debg Find.clickByCssSelector('[data-test-subj="metricEditorDataBtn"]') with timeout=10000
[00:33:13]                     │ debg Find.findByCssSelector('[data-test-subj="metricEditorDataBtn"]') with timeout=10000
[00:33:13]                     │ debg isGlobalLoadingIndicatorVisible
[00:33:13]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:33:13]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:33:15]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:33:15]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:33:15]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:33:15]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:33:15]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:33:15]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:33:15]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:33:15]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:33:18]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerShowDatesButton"] is not displayed
[00:33:18]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:33:18]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:33:18]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:33:18]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:33:18]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:33:19]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:33:19]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:33:19]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:33:19]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:33:19]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:33:19]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:33:19]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:33:19]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:33:19]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:33:20]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:33:20]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:33:20]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:33:20]                     │ debg Find.waitForElementStale with timeout=10000
[00:33:20]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:33:20]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:33:20]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:33:20]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:33:20]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:33:20]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:33:20]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:33:21]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:33:21]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:33:21]                     │ debg Waiting up to 20000ms for Timepicker popover to close...
[00:33:21]                     │ debg TestSubjects.exists(superDatePickerAbsoluteDateInput)
[00:33:21]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=2500
[00:33:21]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerAbsoluteDateInput"] is not displayed
[00:33:24]                     │ debg --- retry.tryForTime failed again with the same message...
[00:33:25]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:33:25]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:33:27]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:33:28]                     │ debg TestSubjects.click(querySubmitButton)
[00:33:28]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:33:28]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:33:28]                     │ debg Find.waitForElementStale with timeout=10000
[00:33:28]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:33:28]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:33:28]                   │ debg TestSubjects.click(metricEditorPanelOptionsBtn)
[00:33:28]                   │ debg Find.clickByCssSelector('[data-test-subj="metricEditorPanelOptionsBtn"]') with timeout=10000
[00:33:28]                   │ debg Find.findByCssSelector('[data-test-subj="metricEditorPanelOptionsBtn"]') with timeout=10000
[00:33:28]                   │ debg isGlobalLoadingIndicatorVisible
[00:33:28]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:33:28]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:33:30]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:33:30]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:33:30]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:33:30]                   │ debg TestSubjects.click(switchIndexPatternSelectionModePopover)
[00:33:30]                   │ debg Find.clickByCssSelector('[data-test-subj="switchIndexPatternSelectionModePopover"]') with timeout=10000
[00:33:30]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionModePopover"]') with timeout=10000
[00:33:31]                   │ debg TestSubjects.find(switchIndexPatternSelectionMode)
[00:33:31]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionMode"]') with timeout=10000
[00:33:31]                   │ debg updating checkbox switchIndexPatternSelectionMode from true to false
[00:33:31]                   │ debg TestSubjects.click(switchIndexPatternSelectionMode)
[00:33:31]                   │ debg Find.clickByCssSelector('[data-test-subj="switchIndexPatternSelectionMode"]') with timeout=10000
[00:33:31]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionMode"]') with timeout=10000
[00:33:31]                   │ debg TestSubjects.find(metricsIndexPatternInput)
[00:33:31]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternInput"]') with timeout=10000
[00:33:31]                   │ debg isGlobalLoadingIndicatorVisible
[00:33:31]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:33:31]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:33:33]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:33:33]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:33:33]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:33:33]                   │ debg TestSubjects.click(switchIndexPatternSelectionModePopover)
[00:33:33]                   │ debg Find.clickByCssSelector('[data-test-subj="switchIndexPatternSelectionModePopover"]') with timeout=10000
[00:33:33]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionModePopover"]') with timeout=10000
[00:33:33]                   │ debg TestSubjects.find(switchIndexPatternSelectionMode)
[00:33:33]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionMode"]') with timeout=10000
[00:33:33]                   │ debg updating checkbox switchIndexPatternSelectionMode from false to true
[00:33:33]                   │ debg TestSubjects.click(switchIndexPatternSelectionMode)
[00:33:33]                   │ debg Find.clickByCssSelector('[data-test-subj="switchIndexPatternSelectionMode"]') with timeout=10000
[00:33:33]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionMode"]') with timeout=10000
[00:33:34]                   │ debg comboBox.clearInputField, comboBoxSelector:metricsIndexPatternInput
[00:33:34]                   │ debg TestSubjects.find(metricsIndexPatternInput)
[00:33:34]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternInput"]') with timeout=10000
[00:33:34]                   │ debg comboBox.setCustom, comboBoxSelector: metricsIndexPatternInput, value: logstash-*
[00:33:34]                   │ debg TestSubjects.find(metricsIndexPatternInput)
[00:33:34]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternInput"]') with timeout=10000
[00:33:36]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:33:36]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:33:36]                   │ debg isGlobalLoadingIndicatorVisible
[00:33:36]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:33:36]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:33:38]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:33:38]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:33:38]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:33:38]                   │ debg Waiting up to 20000ms for combobox options loaded...
[00:33:38]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:33:38]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:33:38]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:33:38]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:33:41]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:33:41]                   │ debg Find.allByCssSelector('.euiFilterSelectItem') with timeout=2500
[00:33:41]                   │ debg -- optionsCount=4
[00:33:41]                   │ debg comboBox.clearInputField, comboBoxSelector:metricsIndexPatternFieldsSelect
[00:33:41]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:33:41]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:33:41]                   │ debg comboBox.set, comboBoxSelector: metricsIndexPatternFieldsSelect
[00:33:41]                   │ debg TestSubjects.find(metricsIndexPatternFieldsSelect)
[00:33:41]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternFieldsSelect"]') with timeout=10000
[00:33:41]                   │ debg comboBox.setElement, value: @timestamp
[00:33:41]                   │ debg comboBox.isOptionSelected, value: @timestamp
[00:33:44]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:33:44]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:33:44]                   │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="@timestamp"]') with timeout=2500
[00:33:44]                   │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:33:44]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:33:46]                   │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:33:47]                   │ debg Waiting up to 20000ms for rendering count to stabilize...
[00:33:47]                   │ debg TestSubjects.find(visualizationLoader)
[00:33:47]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:33:47]                   │ debg -- firstCount=11
[00:33:47]                   │ debg ... sleep(2000) start
[00:33:49]                   │ debg ... sleep(2000) end
[00:33:49]                   │ debg TestSubjects.find(visualizationLoader)
[00:33:49]                   │ debg Find.findByCssSelector('[data-test-subj="visualizationLoader"]') with timeout=10000
[00:33:49]                   │ debg -- secondCount=11
[00:33:49]                   │ debg Find.findByCssSelector('.tvbVisMetric__value--primary') with timeout=10000
[00:33:49]                   └- ✓ pass  (21.0s) "visualize app visualize ciGroup12 visual builder switch index pattern mode should be able to switch combo box mode selection"
[00:33:49]                 └-> should be able to switch using text mode selection
[00:33:49]                   └-> "before each" hook: global before each for "should be able to switch using text mode selection"
[00:33:49]                   └-> "before each" hook for "should be able to switch using text mode selection"
[00:33:49]                     │ debg navigating to visualize url: http://localhost:61181/app/visualize#/
[00:33:49]                     │ debg navigate to: http://localhost:61181/app/visualize#/
[00:33:49]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:33:49]                     │ debg ... sleep(700) start
[00:33:50]                     │ debg ... sleep(700) end
[00:33:50]                     │ debg returned from get, calling refresh
[00:33:51]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:33:51]                     │ debg currentUrl = http://localhost:61181/app/visualize#/
[00:33:51]                     │          appUrl = http://localhost:61181/app/visualize#/
[00:33:51]                     │ debg TestSubjects.find(kibanaChrome)
[00:33:51]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:33:53]                     │ debg ... sleep(501) start
[00:33:54]                     │ debg ... sleep(501) end
[00:33:54]                     │ debg in navigateTo url = http://localhost:61181/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:33:54]                     │ debg --- retry.tryForTime error: URL changed, waiting for it to settle
[00:33:54]                     │ debg ... sleep(501) start
[00:33:55]                     │ debg ... sleep(501) end
[00:33:55]                     │ debg in navigateTo url = http://localhost:61181/app/visualize#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
[00:33:55]                     │ debg isGlobalLoadingIndicatorVisible
[00:33:55]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:33:55]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:33:56]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:33:57]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:33:57]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:33:57]                     │ debg TestSubjects.exists(newItemButton)
[00:33:57]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:33:57]                     │ debg TestSubjects.click(newItemButton)
[00:33:57]                     │ debg Find.clickByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:33:57]                     │ debg Find.findByCssSelector('[data-test-subj="newItemButton"]') with timeout=10000
[00:33:57]                     │ debg TestSubjects.find(visNewDialogGroups)
[00:33:57]                     │ debg Find.findByCssSelector('[data-test-subj="visNewDialogGroups"]') with timeout=10000
[00:33:57]                     │ debg TestSubjects.click(visType-metrics)
[00:33:57]                     │ debg Find.clickByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:33:57]                     │ debg Find.findByCssSelector('[data-test-subj="visType-metrics"]') with timeout=10000
[00:33:57]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:33:57]                     │ debg isGlobalLoadingIndicatorVisible
[00:33:57]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:33:57]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:33:59]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:34:00]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:34:00]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:34:00]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:34:00]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=20000
[00:34:01]                     │ debg navigateToActualUrl http://localhost:61181/app/visualize#create?type=metrics
[00:34:01]                     │ debg browser[log] "^ A single error about an inline script not firing due to content security policy is expected!"
[00:34:03]                     │ debg currentUrl = http://localhost:61181/app/visualize#create?type=metrics
[00:34:03]                     │          appUrl = http://localhost:61181/app/visualize#create?type=metrics
[00:34:03]                     │ debg TestSubjects.find(kibanaChrome)
[00:34:03]                     │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:34:03]                     │ debg Wait for initializing TSVB editor
[00:34:03]                     │ debg TestSubjects.exists(tvbVisEditor)
[00:34:03]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tvbVisEditor"]') with timeout=20000
[00:34:04]                     │ debg Set absolute time range from "Sep 19, 2015 @ 06:31:44.000" to "Sep 22, 2015 @ 18:31:44.000"
[00:34:04]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:34:04]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:34:04]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:34:04]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:34:04]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:34:04]                     │ debg TestSubjects.click(superDatePickerShowDatesButton)
[00:34:04]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:34:04]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=10000
[00:34:05]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:34:05]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:34:05]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:34:05]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:34:05]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:34:05]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:34:05]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:34:05]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:34:05]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:34:06]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:34:06]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:34:06]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:34:06]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:34:06]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:34:07]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:34:07]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:34:07]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:34:07]                     │ debg Find.waitForElementStale with timeout=10000
[00:34:07]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:34:07]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:34:07]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:34:07]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:34:07]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:34:07]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:34:07]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:34:08]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:34:08]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:34:08]                     │ debg Waiting up to 20000ms for Timepicker popover to close...
[00:34:08]                     │ debg TestSubjects.exists(superDatePickerAbsoluteDateInput)
[00:34:08]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=2500
[00:34:08]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerAbsoluteDateInput"] is not displayed
[00:34:11]                     │ debg --- retry.tryForTime failed again with the same message...
[00:34:12]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:34:12]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:34:14]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:34:15]                     │ debg TestSubjects.click(querySubmitButton)
[00:34:15]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:34:15]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:34:15]                     │ debg Find.waitForElementStale with timeout=10000
[00:34:15]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:34:15]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:34:15]                     │ debg ... sleep(2000) start
[00:34:17]                     │ debg ... sleep(2000) end
[00:34:17]                   └-> "before each" hook for "should be able to switch using text mode selection"
[00:34:17]                     │ debg TestSubjects.find(metricTsvbTypeBtn)
[00:34:17]                     │ debg Find.findByCssSelector('[data-test-subj="metricTsvbTypeBtn"]') with timeout=10000
[00:34:17]                     │ debg TestSubjects.exists(tsvbMetricValue)
[00:34:17]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="tsvbMetricValue"]') with timeout=20000
[00:34:17]                     │ debg TestSubjects.click(metricEditorPanelOptionsBtn)
[00:34:17]                     │ debg Find.clickByCssSelector('[data-test-subj="metricEditorPanelOptionsBtn"]') with timeout=10000
[00:34:17]                     │ debg Find.findByCssSelector('[data-test-subj="metricEditorPanelOptionsBtn"]') with timeout=10000
[00:34:18]                     │ debg isGlobalLoadingIndicatorVisible
[00:34:18]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:34:18]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:34:19]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:34:20]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:34:20]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:34:20]                     │ debg TestSubjects.find(dataTimeRangeMode)
[00:34:20]                     │ debg Find.findByCssSelector('[data-test-subj="dataTimeRangeMode"]') with timeout=10000
[00:34:20]                     │ debg comboBox.setElement, value: Last value
[00:34:20]                     │ debg comboBox.isOptionSelected, value: Last value
[00:34:22]                     │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:34:22]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:34:22]                     │ debg Find.allByCssSelector('.euiFilterSelectItem[title^="Last value"]') with timeout=2500
[00:34:22]                     │ debg TestSubjects.exists(~comboBoxOptionsList)
[00:34:22]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj~="comboBoxOptionsList"]') with timeout=2500
[00:34:25]                     │ debg --- retry.tryForTime error: [data-test-subj~="comboBoxOptionsList"] is not displayed
[00:34:25]                     │ debg TestSubjects.find(metricsDropLastBucket-yes)
[00:34:25]                     │ debg Find.findByCssSelector('[data-test-subj="metricsDropLastBucket-yes"]') with timeout=10000
[00:34:25]                     │ debg isGlobalLoadingIndicatorVisible
[00:34:25]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:34:25]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:34:27]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:34:28]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:34:28]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:34:28]                     │ debg TestSubjects.click(metricEditorDataBtn)
[00:34:28]                     │ debg Find.clickByCssSelector('[data-test-subj="metricEditorDataBtn"]') with timeout=10000
[00:34:28]                     │ debg Find.findByCssSelector('[data-test-subj="metricEditorDataBtn"]') with timeout=10000
[00:34:28]                     │ debg isGlobalLoadingIndicatorVisible
[00:34:28]                     │ debg TestSubjects.exists(globalLoadingIndicator)
[00:34:28]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:34:30]                     │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:34:30]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:34:30]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:34:30]                     │ debg Setting absolute range to Sep 19, 2015 @ 06:31:44.000 to Sep 22, 2015 @ 18:31:44.000
[00:34:30]                     │ debg TestSubjects.exists(superDatePickerToggleQuickMenuButton)
[00:34:30]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerToggleQuickMenuButton"]') with timeout=20000
[00:34:30]                     │ debg TestSubjects.exists(superDatePickerShowDatesButton)
[00:34:30]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerShowDatesButton"]') with timeout=2500
[00:34:33]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerShowDatesButton"] is not displayed
[00:34:33]                     │ debg TestSubjects.exists(superDatePickerstartDatePopoverButton)
[00:34:33]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=2500
[00:34:33]                     │ debg TestSubjects.click(superDatePickerendDatePopoverButton)
[00:34:33]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:34:33]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerendDatePopoverButton"]') with timeout=10000
[00:34:34]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:34:34]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:34:34]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:34:34]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:34:34]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:34:34]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:34:34]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:34:34]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:34:34]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:34:35]                     │ debg TestSubjects.click(superDatePickerstartDatePopoverButton)
[00:34:35]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:34:35]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerstartDatePopoverButton"]') with timeout=10000
[00:34:35]                     │ debg Find.waitForElementStale with timeout=10000
[00:34:35]                     │ debg Find.findByCssSelector('div.euiPopover__panel-isOpen') with timeout=10000
[00:34:35]                     │ debg TestSubjects.click(superDatePickerAbsoluteTab)
[00:34:35]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:34:35]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteTab"]') with timeout=10000
[00:34:35]                     │ debg TestSubjects.click(superDatePickerAbsoluteDateInput)
[00:34:35]                     │ debg Find.clickByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:34:35]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:34:35]                     │ debg TestSubjects.find(superDatePickerAbsoluteDateInput)
[00:34:35]                     │ debg Find.findByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=10000
[00:34:36]                     │ debg Waiting up to 20000ms for Timepicker popover to close...
[00:34:36]                     │ debg TestSubjects.exists(superDatePickerAbsoluteDateInput)
[00:34:36]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerAbsoluteDateInput"]') with timeout=2500
[00:34:36]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerAbsoluteDateInput"] is not displayed
[00:34:39]                     │ debg --- retry.tryForTime failed again with the same message...
[00:34:39]                     │ debg TestSubjects.exists(superDatePickerApplyTimeButton)
[00:34:39]                     │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="superDatePickerApplyTimeButton"]') with timeout=2500
[00:34:42]                     │ debg --- retry.tryForTime error: [data-test-subj="superDatePickerApplyTimeButton"] is not displayed
[00:34:42]                     │ debg TestSubjects.click(querySubmitButton)
[00:34:42]                     │ debg Find.clickByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:34:42]                     │ debg Find.findByCssSelector('[data-test-subj="querySubmitButton"]') with timeout=10000
[00:34:43]                     │ debg Find.waitForElementStale with timeout=10000
[00:34:43]                     │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:34:43]                     │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:34:43]                   │ debg TestSubjects.click(metricEditorPanelOptionsBtn)
[00:34:43]                   │ debg Find.clickByCssSelector('[data-test-subj="metricEditorPanelOptionsBtn"]') with timeout=10000
[00:34:43]                   │ debg Find.findByCssSelector('[data-test-subj="metricEditorPanelOptionsBtn"]') with timeout=10000
[00:34:43]                   │ debg isGlobalLoadingIndicatorVisible
[00:34:43]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:34:43]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:34:45]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:34:45]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:34:45]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:34:45]                   │ debg TestSubjects.click(switchIndexPatternSelectionModePopover)
[00:34:45]                   │ debg Find.clickByCssSelector('[data-test-subj="switchIndexPatternSelectionModePopover"]') with timeout=10000
[00:34:45]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionModePopover"]') with timeout=10000
[00:34:45]                   │ debg TestSubjects.find(switchIndexPatternSelectionMode)
[00:34:45]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionMode"]') with timeout=10000
[00:34:45]                   │ debg updating checkbox switchIndexPatternSelectionMode from true to false
[00:34:45]                   │ debg TestSubjects.click(switchIndexPatternSelectionMode)
[00:34:45]                   │ debg Find.clickByCssSelector('[data-test-subj="switchIndexPatternSelectionMode"]') with timeout=10000
[00:34:45]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionMode"]') with timeout=10000
[00:34:46]                   │ debg TestSubjects.find(metricsIndexPatternInput)
[00:34:46]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternInput"]') with timeout=10000
[00:34:46]                   │ debg isGlobalLoadingIndicatorVisible
[00:34:46]                   │ debg TestSubjects.exists(globalLoadingIndicator)
[00:34:46]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="globalLoadingIndicator"]') with timeout=1500
[00:34:47]                   │ debg --- retry.tryForTime error: [data-test-subj="globalLoadingIndicator"] is not displayed
[00:34:48]                   │ debg TestSubjects.exists(globalLoadingIndicator-hidden)
[00:34:48]                   │ debg Find.existsByCssSelector('[data-test-subj="globalLoadingIndicator-hidden"]') with timeout=100000
[00:34:48]                   │ debg TestSubjects.click(switchIndexPatternSelectionModePopover)
[00:34:48]                   │ debg Find.clickByCssSelector('[data-test-subj="switchIndexPatternSelectionModePopover"]') with timeout=10000
[00:34:48]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionModePopover"]') with timeout=10000
[00:34:48]                   │ debg TestSubjects.find(switchIndexPatternSelectionMode)
[00:34:48]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionMode"]') with timeout=10000
[00:34:48]                   │ debg TestSubjects.find(metricsIndexPatternInput)
[00:34:48]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternInput"]') with timeout=10000
[00:34:48]                   │ warn WebElementWrapper.type: Element <input class="euiFieldText euiFieldText--inGroup" type="text"> is not reachable by keyboard
[00:34:48]                   │ debg finding element 'By(css selector, [data-test-subj="metricsIndexPatternInput"])' again, 2 attempts left
[00:34:48]                   │ warn WebElementWrapper.type: Element <input class="euiFieldText euiFieldText--inGroup" type="text"> is not reachable by keyboard
[00:34:48]                   │ debg finding element 'By(css selector, [data-test-subj="metricsIndexPatternInput"])' again, 1 attempts left
[00:34:49]                   │ warn WebElementWrapper.type: Element <input class="euiFieldText euiFieldText--inGroup" type="text"> is not reachable by keyboard
[00:34:49]                   │ debg finding element 'By(css selector, [data-test-subj="metricsIndexPatternInput"])' again, 0 attempts left
[00:34:49]                   │ debg --- retry.tryForTime error: Element <input class="euiFieldText euiFieldText--inGroup" type="text"> is not reachable by keyboard
[00:34:49]                   │ debg TestSubjects.click(switchIndexPatternSelectionModePopover)
[00:34:49]                   │ debg Find.clickByCssSelector('[data-test-subj="switchIndexPatternSelectionModePopover"]') with timeout=10000
[00:34:49]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionModePopover"]') with timeout=10000
[00:34:50]                   │ debg TestSubjects.find(switchIndexPatternSelectionMode)
[00:34:50]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionMode"]') with timeout=10000
[00:34:50]                   │ warn WebElementWrapper.getAttribute: The element reference of <button id="i5bcf1501-14ef-11ec-abdd-45852cb1fa9e" class="euiSwitch__button" type="button"> is stale; either the element is no longer attached to the DOM, it is not in the current frame context, or the document has been refreshed
[00:34:50]                   │ debg finding element 'By(css selector, [data-test-subj="switchIndexPatternSelectionMode"])' again, 2 attempts left
[00:35:00]                   │ debg --- retry.try error: Unable to locate element: [data-test-subj="switchIndexPatternSelectionMode"]
[00:35:00]                   │ debg TestSubjects.click(switchIndexPatternSelectionModePopover)
[00:35:00]                   │ debg Find.clickByCssSelector('[data-test-subj="switchIndexPatternSelectionModePopover"]') with timeout=10000
[00:35:00]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionModePopover"]') with timeout=10000
[00:35:01]                   │ debg TestSubjects.find(switchIndexPatternSelectionMode)
[00:35:01]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionMode"]') with timeout=10000
[00:35:01]                   │ debg TestSubjects.find(metricsIndexPatternInput)
[00:35:01]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternInput"]') with timeout=10000
[00:35:01]                   │ warn WebElementWrapper.type: Element <input class="euiFieldText euiFieldText--inGroup" type="text"> is not reachable by keyboard
[00:35:01]                   │ debg finding element 'By(css selector, [data-test-subj="metricsIndexPatternInput"])' again, 2 attempts left
[00:35:01]                   │ warn WebElementWrapper.type: Element <input class="euiFieldText euiFieldText--inGroup" type="text"> is not reachable by keyboard
[00:35:01]                   │ debg finding element 'By(css selector, [data-test-subj="metricsIndexPatternInput"])' again, 1 attempts left
[00:35:01]                   │ warn WebElementWrapper.type: Element <input class="euiFieldText euiFieldText--inGroup" type="text"> is not reachable by keyboard
[00:35:01]                   │ debg finding element 'By(css selector, [data-test-subj="metricsIndexPatternInput"])' again, 0 attempts left
[00:35:01]                   │ debg --- retry.tryForTime failed again with the same message...
[00:35:02]                   │ debg TestSubjects.click(switchIndexPatternSelectionModePopover)
[00:35:02]                   │ debg Find.clickByCssSelector('[data-test-subj="switchIndexPatternSelectionModePopover"]') with timeout=10000
[00:35:02]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionModePopover"]') with timeout=10000
[00:35:02]                   │ debg TestSubjects.find(switchIndexPatternSelectionMode)
[00:35:02]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionMode"]') with timeout=10000
[00:35:03]                   │ warn WebElementWrapper.getAttribute: The element reference of <button id="i635050f1-14ef-11ec-abdd-45852cb1fa9e" class="euiSwitch__button" type="button"> is stale; either the element is no longer attached to the DOM, it is not in the current frame context, or the document has been refreshed
[00:35:03]                   │ debg finding element 'By(css selector, [data-test-subj="switchIndexPatternSelectionMode"])' again, 2 attempts left
[00:35:13]                   │ debg --- retry.try error: Unable to locate element: [data-test-subj="switchIndexPatternSelectionMode"]
[00:35:13]                   │ debg TestSubjects.click(switchIndexPatternSelectionModePopover)
[00:35:13]                   │ debg Find.clickByCssSelector('[data-test-subj="switchIndexPatternSelectionModePopover"]') with timeout=10000
[00:35:13]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionModePopover"]') with timeout=10000
[00:35:14]                   │ debg TestSubjects.find(switchIndexPatternSelectionMode)
[00:35:14]                   │ debg Find.findByCssSelector('[data-test-subj="switchIndexPatternSelectionMode"]') with timeout=10000
[00:35:14]                   │ debg TestSubjects.find(metricsIndexPatternInput)
[00:35:14]                   │ debg Find.findByCssSelector('[data-test-subj="metricsIndexPatternInput"]') with timeout=10000
[00:35:14]                   │ warn WebElementWrapper.type: Element <input class="euiFieldText euiFieldText--inGroup" type="text"> is not reachable by keyboard
[00:35:14]                   │ debg finding element 'By(css selector, [data-test-subj="metricsIndexPatternInput"])' again, 2 attempts left
[00:35:14]                   │ warn WebElementWrapper.type: Element <input class="euiFieldText euiFieldText--inGroup" type="text"> is not reachable by keyboard
[00:35:14]                   │ debg finding element 'By(css selector, [data-test-subj="metricsIndexPatternInput"])' again, 1 attempts left
[00:35:15]                   │ warn WebElementWrapper.type: Element <input class="euiFieldText euiFieldText--inGroup" type="text"> is not reachable by keyboard
[00:35:15]                   │ debg finding element 'By(css selector, [data-test-subj="metricsIndexPatternInput"])' again, 0 attempts left
[00:35:15]                   │ debg --- retry.tryForTime failed again with the same message...
[00:35:15]                   │ info Taking screenshot "/dev/shm/workspace/parallel/18/kibana/test/functional/screenshots/failure/visualize app visualize ciGroup12 visual builder switch index pattern mode should be able to switch using text mode selection.png"
[00:35:16]                   │ info Current URL is: http://localhost:61181/app/visualize#/create?type=metrics&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,to:%272015-09-22T18:31:44.000Z%27))&_a=(filters:!(),linked:!f,query:(language:kuery,query:%27%27),uiState:(),vis:(aggs:!(),params:(axis_formatter:number,axis_position:left,axis_scale:normal,background_color_rules:!((id:%27496be5f0-14ef-11ec-aa68-5d85016ec951%27)),drop_last_bucket:1,id:%273afee411-0f16-456b-a38f-410c7fc84f36%27,index_pattern:%27%27,interval:%27%27,isModelInvalid:!f,max_lines_legend:1,series:!((axis_position:right,chart_type:line,color:%2368BC00,fill:0.5,formatter:default,id:c0baad81-bebe-4769-b4d9-dce0f21164d8,line_width:1,metrics:!((id:c9a6d174-9721-4a60-a72f-5dc1fa592735,type:count)),palette:(name:default,type:palette),point_size:1,separate_axis:0,split_mode:everything,stacked:none)),show_grid:1,show_legend:1,time_field:%27%27,time_range_mode:last_value,tooltip_mode:show_all,truncate_legend:1,type:metric,use_kibana_indexes:!f),title:%27%27,type:metrics))
[00:35:16]                   │ info Saving page source to: /dev/shm/workspace/parallel/18/kibana/test/functional/failure_debug/html/visualize app visualize ciGroup12 visual builder switch index pattern mode should be able to switch using text mode selection.html
[00:35:16]                   └- ✖ fail: visualize app visualize ciGroup12 visual builder switch index pattern mode should be able to switch using text mode selection
[00:35:16]                   │      retry.tryForTime timeout: ElementNotInteractableError: Element <input class="euiFieldText euiFieldText--inGroup" type="text"> is not reachable by keyboard
[00:35:16]                   │     at Object.throwDecodedError (/dev/shm/workspace/parallel/18/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
[00:35:16]                   │     at parseHttpResponse (/dev/shm/workspace/parallel/18/kibana/node_modules/selenium-webdriver/lib/http.js:565:13)
[00:35:16]                   │     at Executor.execute (/dev/shm/workspace/parallel/18/kibana/node_modules/selenium-webdriver/lib/http.js:491:26)
[00:35:16]                   │     at runMicrotasks (<anonymous>)
[00:35:16]                   │     at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:35:16]                   │     at Task.exec (/dev/shm/workspace/parallel/18/kibana/test/functional/services/remote/prevent_parallel_calls.ts:28:20)
[00:35:16]                   │   Error: retry.tryForTime timeout: ElementNotInteractableError: Element <input class="euiFieldText euiFieldText--inGroup" type="text"> is not reachable by keyboard
[00:35:16]                   │       at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:550:15)
[00:35:16]                   │       at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:565:13)
[00:35:16]                   │       at Executor.execute (node_modules/selenium-webdriver/lib/http.js:491:26)
[00:35:16]                   │       at runMicrotasks (<anonymous>)
[00:35:16]                   │       at processTicksAndRejections (internal/process/task_queues.js:95:5)
[00:35:16]                   │       at Task.exec (test/functional/services/remote/prevent_parallel_calls.ts:28:20)
[00:35:16]                   │       at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
[00:35:16]                   │       at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
[00:35:16]                   │       at RetryService.tryForTime (test/common/services/retry/retry.ts:22:12)
[00:35:16]                   │       at switchIndexTest (test/functional/apps/visualize/_tsvb_chart.ts:337:9)
[00:35:16]                   │       at Context.<anonymous> (test/functional/apps/visualize/_tsvb_chart.ts:351:9)
[00:35:16]                   │       at Object.apply (node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)
[00:35:16]                   │ 
[00:35:16]                   │ 

Stack Trace

Error: retry.tryForTime timeout: ElementNotInteractableError: Element <input class="euiFieldText euiFieldText--inGroup" type="text"> is not reachable by keyboard
    at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:550:15)
    at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:565:13)
    at Executor.execute (node_modules/selenium-webdriver/lib/http.js:491:26)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at Task.exec (test/functional/services/remote/prevent_parallel_calls.ts:28:20)
    at onFailure (test/common/services/retry/retry_for_success.ts:17:9)
    at retryForSuccess (test/common/services/retry/retry_for_success.ts:57:13)
    at RetryService.tryForTime (test/common/services/retry/retry.ts:22:12)
    at switchIndexTest (test/functional/apps/visualize/_tsvb_chart.ts:337:9)
    at Context.<anonymous> (test/functional/apps/visualize/_tsvb_chart.ts:351:9)
    at Object.apply (node_modules/@kbn/test/target_node/functional_test_runner/lib/mocha/wrap_function.js:87:16)

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
data 781.3KB 781.4KB +149.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @lukasolson

@kibanamachine kibanamachine merged commit 2b3652f into elastic:7.x Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants